package com.zys.el.time.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zys.el.time.entity.Deal;

import java.util.List;

public interface IDealService extends IService<Deal> {
    List<Deal> getDealList(String userId);

    /**
     * 通过待办名字获取待办(逻辑查询)
     *
     * @param userId 用户id
     * @param title  待办名称
     * @return Deal待办对象
     */
    Deal getByDealNameLogic(Long userId, String title);
}
